package jy.pageModel;

import java.util.List;

import javax.persistence.Entity;
import javax.persistence.Table;

import jy.model.Ftype;
import jy.model.User;

/**
 * Store entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "store", catalog = "waimai")
public class PStore implements java.io.Serializable {


	/**
	 * 
	 */
	private static final long serialVersionUID = -133098313446195802L;
	
	private Integer id;
	private User user;
	private String name;
	private String storeName;
	private String address;
	private String tel;
	private String otel;
	private String servicetime;
	private Float mincost;
	private Float deliveryscost;
	private String info;
	private String image;
	private List<Ftype> ftypes;
	
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getStoreName() {
		return storeName;
	}
	public void setStoreName(String storeName) {
		this.storeName = storeName;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getTel() {
		return tel;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}
	public String getOtel() {
		return otel;
	}
	public void setOtel(String otel) {
		this.otel = otel;
	}
	public String getServicetime() {
		return servicetime;
	}
	public void setServicetime(String servicetime) {
		this.servicetime = servicetime;
	}
	public Float getMincost() {
		return mincost;
	}
	public void setMincost(Float mincost) {
		this.mincost = mincost;
	}
	public Float getDeliveryscost() {
		return deliveryscost;
	}
	public void setDeliveryscost(Float deliveryscost) {
		this.deliveryscost = deliveryscost;
	}
	public String getInfo() {
		return info;
	}
	public void setInfo(String info) {
		this.info = info;
	}
	public String getImage() {
		return image;
	}
	public void setImage(String image) {
		this.image = image;
	}
	public List<Ftype> getFtypes() {
		return ftypes;
	}
	public void setFtypes(List<Ftype> ftypes) {
		this.ftypes = ftypes;
	}


	

}